package com.app.service.impl;

import com.app.mapper.JobAdditionalMapper;
import com.app.mapper.OpinionMapper;
import com.app.model.JobAdditionalModel;
import com.app.model.OpinionModel;
import com.app.service.JobAdditionalService;
import com.app.service.OpinionService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;


/**
 * @Description:附加信息实现类
 * @Author: N
 * @Date: 2022年11月24日 10点29分
 */
@Service
public class OpinionServiceImpl implements OpinionService {
    @Autowired
    OpinionMapper opinionMapper;


    @Override
    public int insert(OpinionModel model) {
        return opinionMapper.insert(model);
    }

    @Override
    public int countAll() {
        return opinionMapper.selectCount(null);
    }
}
